package com.explorati.design_pattern.behavior.strategy;

public class Test {

	// public static void main(String[] args) {
	// PromotionActivity promotionStrateggy618 = new PromotionActivity(new
	// LiJianPromotionStrategy());
	// PromotionActivity promotionStrateggy1111 = new PromotionActivity(new
	// FanXianPromotionStrategy());
	//
	// promotionStrateggy618.executePromotionStrategy();
	// promotionStrateggy1111.executePromotionStrategy();
	// }

	public static void main(String[] args) {
		String promotionKey = "LIJIAN";

		PromotionActivity promotionActivity = new PromotionActivity(
				PromotionStrategyFactory.getPromotionStrategy(promotionKey));

		promotionActivity.executePromotionStrategy();
	}
}
